}
if (!is_stored)
- {
+ {
+ /* The delta compiler never did this, there's no reason to support it */
if (OSTREE_OBJECT_TYPE_IS_META (objtype))
{
- g_autoptr(GVariant) objname = ostree_object_name_serialize (checksum, objtype);
- if (!g_hash_table_lookup (pull_data->requested_metadata, objname))
- {
- gboolean do_fetch_detached;
- g_hash_table_add (pull_data->requested_metadata, g_variant_ref (objname));
-
- do_fetch_detached = (objtype == OSTREE_OBJECT_TYPE_COMMIT);
- enqueue_one_object_request (pull_data, checksum, objtype, NULL, do_fetch_detached, FALSE);
- checksum = NULL; /* Transfer ownership */
- }
+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
+ "Found metadata object as fallback: %s.%s", checksum,
+ ostree_object_type_to_string (objtype));
+ goto out;
}
else
{